package com.qianfeng.service;

import com.qianfeng.dto.userDto;
import com.qianfeng.pojo.SysUserInfo;
import org.springframework.stereotype.Service;

/*
 *@Description:
 *@author:刘哥
 *@Date:86180 2022/9/5 16:04
 */

public interface UserService {
    void addUser(userDto userDto);

    SysUserInfo login(String username, String password);

    void updateLoginData(Long uid, String ip);

    SysUserInfo findByUserName(String username);
}
